class Mailer < ActionMailer::Base
  

  def invitation(invitation)
    subject    'Invitation'
    recipients invitation.recipient_email
    from       'lizhen@pub.xaonline.com'
    body       :invitation => invitation
    invitation.update_attribute(:created_at, Time.now)
  end

end
